//
//  Date+Extension.swift
//  MySpots
//
//  Created by Chen Dong on 2018/11/23.
//  Copyright © 2018 chen dong. All rights reserved.
//

import Foundation

extension Date {

    static func dateStringForChinese(date: Date) -> String {
        let formatter = DateFormatter()
        formatter.dateFormat = "yyyy年MM月dd日 HH:mm"
        return formatter.string(from: date)
    }
}
